import vue from '@vitejs/plugin-vue'
import {defineConfig} from "vite";
import copy from 'rollup-plugin-copy'
export default defineConfig({
    plugins: [
        vue(),
        copy({
            targets: [
                { src: './public/assets.png', dest: './dist/assets.png' }, //执行拷贝
            ]
        })
    ],
    base:'./',
    optimizeDeps: {
        include: ['schart.js']
    }
})